package com.jd.mysql.mgr.service;

import java.util.List;

import com.jd.mysql.mgr.pojo.MgrMachine;

public interface IMgrMachineService {
	public MgrMachine findMgrMachineById(Integer id);
	public void deleteMgrMachine(MgrMachine mgrmachine);
	public void disableMgrMachine(MgrMachine mgrmachine);
	public void addMgrMachine(MgrMachine mgrmachine);
	public void updateMgrMachine(MgrMachine mgrmachine);
	public List<MgrMachine> getMgrMachineList(Integer start,Integer limit);
	
	public List<MgrMachine> getMgrMachineList(Integer start,Integer limit,Boolean yn,String ip,Integer groupId);
	
	public Long getTotalCount(Integer groupId,Boolean enable);
	public Long getTotalCount(Integer groupId,Boolean enable,String ip);
	
	public MgrMachine getMgrMachineByIp(String ip);
}
